package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.FaqReplyQuestion;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FaqReplyQuestionMapper {
    int deleteById(@Param("id") Long id);

    int insert(FaqReplyQuestion record);

    int insertSelective(FaqReplyQuestion record);

    FaqReplyQuestion selectById(@Param("id") Long id);

    List<FaqReplyQuestion> selectByReplyId(@Param("replyId") Long replyId, @Param("merId") Long id, @Param("status") Integer status);

    int updateByIdSelective(FaqReplyQuestion record);

    int updateById(FaqReplyQuestion record);
}